Move the dom0 ballooning-out code from the xm create handler and into the
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 1 Dec 2005 03:39:23 +0000 (03:39 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 1 Dec 2005 03:39:23 +0000 (03:39 +0000)
commite3d77473495ba5166de10133b21b6ef3b3404aa3
tree4717ad840dc93b131f02442abf2dde66e2800969
parentb090f499e1bd2b47da85f2969c14fbe75d0d406f
Move the dom0 ballooning-out code from the xm create handler and into the
server, where it can be used on reboot and migrate as well as create.
Ballooning bugs may still exist (it is unclear) but this is certainly a good
step in the right direction.

Ignore the memory and maxmem entries in the store for dom0 when restarting.
This means that the value in use at the time becomes the configured target.
This should fix the bug whereby dom0_mem settings on the command line are
being overridden by (older) entries in the store.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendCheckpoint.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/balloon.py [new file with mode: 0644]
tools/python/xen/xm/create.py